all: rtl

rtl:
	fpc -Us JPasKernel/system
	fpc objpas/objpas
	fpc -S2 JpasKernel/classes
	fpc JpasKernel/sysutils
	fpc JpasKernel/varutils
	fpc JpasKernel/dos

clean:
	rm -f $(wildcard *.ppu *.o *.rst)